
$(function()
{
    alert('dsfsdf');
   var $t,leftX,newWidth;
   $block=$('.block');
    $block.data('rightLeft', $block.position().left).data('rightWidth', $block.width());
   $('.header .header_main .header_right').find('a').hover(function()
   {
    alert('sada');
        $t=$(this);
        leftX=$t.position().left;
        newWidth=$t.width();
        $block.stop().animate(
        {
            left:leftX,
            width:newWidth
        },300);
   },function()
   {
    $block.stop().animate({
        left: $block.data('rightLeft'),
        width: $block.data('rightWidth')
    },300)
   })

})